//
//  vars.h
//  iXorsPattern
//
//  Created by Dmitry Tatarinov on 1/30/15.
//  Copyright (c) 2015 Huly-Gun Soft. All rights reserved.
///

#import <Foundation/Foundation.h>

#ifdef UI_USER_INTERFACE_IDIOM
#define IS_IPAD (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
#else
#define IS_IPAD NO
#endif

#define IS_IPHONE_5 ([UIScreen mainScreen].bounds.size.height == 568.0)
#define IS_RETINA ([UIScreen mainScreen].scale > 1.0)

#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height

extern bool global_pause;
extern UIViewController *curController;




extern bool soundPresent;

// число побед
extern int blackVictoryCount;
extern int whiteVictoryCount;

//стартовая линия
extern int blackStartLine;
extern int whiteStartLine;

//последняя игра
extern int lastGameBlackCount;
extern int lastGameWhiteCount;

extern int gameProhod;// номер прохода до победы

extern int total_score1;
extern int total_score2;
extern int g_score1;
extern int g_score2;


